package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.entity.OTCSysDictionary;
import mn.idax.exchange.otc.entity.OTCSysDictionaryExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OTCSysDictionaryMapper {
    int countByExample(OTCSysDictionaryExample example);

    int deleteByExample(OTCSysDictionaryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OTCSysDictionary record);

    int insertSelective(OTCSysDictionary record);

    List<OTCSysDictionary> selectByExampleWithRowbounds(OTCSysDictionaryExample example, RowBounds rowBounds);

    List<OTCSysDictionary> selectByExample(OTCSysDictionaryExample example);

    OTCSysDictionary selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OTCSysDictionary record, @Param("example") OTCSysDictionaryExample example);

    int updateByExample(@Param("record") OTCSysDictionary record, @Param("example") OTCSysDictionaryExample example);

    int updateByPrimaryKeySelective(OTCSysDictionary record);

    int updateByPrimaryKey(OTCSysDictionary record);
}